/etc/default/xen: Handle with ucf
authorIan Jackson <ian.jackson@citrix.com>
Wed, 27 Feb 2019 16:37:32 +0000 (16:37 +0000)
committerIan Jackson <ian.jackson@citrix.com>
Thu, 28 Feb 2019 15:17:18 +0000 (15:17 +0000)
commitcccfc613caf36d4e8a587f37802ab7a4dceb157f
tree8955e4a59b55babd07f79c51bae0749b9d44fb39
parent7042357ce8082d2d431b83ee6535b0f259c9f73e
/etc/default/xen: Handle with ucf

We reintroduced this file in
  "d/xen-utils-common.install: ship /etc/default/xen"
  eg 2f34db35dd27abb4280d38ebc4464c21f64df8c9

But I had forgotten that this file was previously shipped and handled
by ucf; and we have machinery to try to remove it.

This leaves the following possible cases:
(a) stretch: file handled by ucf
(b) older buster: file not shipped, ucf postinst action not done
   | file remains recorded by ucf and ucfr, but that the original
   | version of the file is no longer present on the user's machine
(c) newer buster: file shipped, file recorded by ucf with one
   old version and as dpkg conffile by newer version

(a) and (b) will be handled correctly by just using ucf in the normal
way.

(c) xxx needs testing

So:
 * Drop the special call to ucf-remove-fixup; retain the call to ucf
 * Switch to shipping the file in /usr/share as expected by ucf

We do not remove the file's entry from not-installed - see the
comment relating to #831786.

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
debian/rules
debian/xen-utils-common.install